package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

//历史价格详细
public class JsCourseJournal {

  private Integer id;
  private Integer courseId;//课程id
  private String courseName;//课程名称
  private String courseStatus;//上架状态，2上架，3未上架
  private String courseCstatus;//审核状态，3未审核，4审核中，5审核失败，6其他
  private Integer userId;//修改人id
  @DateTimeFormat(pattern="yyyy-MM-dd")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private java.util.Date updateDate;//日记录入时间
  private double coursePrice;//课程原价
  private double courseNprice;//课程现价
  private Integer productCode;//商品编号
  private String productName;//商品名称

    public Integer getProductCode() {
        return productCode;
    }

    public void setProductCode(Integer productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  private Integer type;//1、商品2、课程

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public Integer getCourseId() {
    return courseId;
  }

  public void setCourseId(Integer courseId) {
    this.courseId = courseId;
  }


  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }


  public String getCourseStatus() {
    return courseStatus;
  }

  public void setCourseStatus(String courseStatus) {
    this.courseStatus = courseStatus;
  }


  public String getCourseCstatus() {
    return courseCstatus;
  }

  public void setCourseCstatus(String courseCstatus) {
    this.courseCstatus = courseCstatus;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public java.util.Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(java.util.Date updateDate) {
    this.updateDate = updateDate;
  }


  public double getCoursePrice() {
    return coursePrice;
  }

  public void setCoursePrice(double coursePrice) {
    this.coursePrice = coursePrice;
  }


  public double getCourseNprice() {
    return courseNprice;
  }

  public void setCourseNprice(double courseNprice) {
    this.courseNprice = courseNprice;
  }

}
